// pages/bangding/bangding.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
      sid:'',
      name:'',
    statuname:'',
    typename:'',
    mobile:'',
    gender:'',
    party:'',
    dang:'',
    show: false,
    columns: ['杭州', '宁波', '温州', '嘉兴', '湖州']
  },
  showPopup() {
    this.setData({ show: true });
  },

  onClose() {
    this.setData({ show: false });
  },
  onChange(event) {
    const { picker, value, index } = event.detail;
    Toast(`当前值：${value}, 当前索引：${index}`);
  },




  bindsid:function(event){
    this.setData({ sid: event.detail.value})
  }, 
  bindname: function(event) {
    this.setData({ name: event.detail.value })
  },
  bindact: function(event) {
    this.setData({ statuname: event.detail.value })
  },
  bindshen: function(event) {
    this.setData({ typename: event.detail.value })
  },
  bindmod: function(event) {
    this.setData({ mobile: event.detail.value })
  },
  bindsex: function(event) {
    this.setData({ gender: event.detail.value })
  },
  bindzhi: function(event) {
    this.setData({ party: event.detail.value })
  },
  binddang: function(event) {
    this.setData({ dang: event.detail.value })
  },
  orderMeeting:function(){
    var sid=this.data.sid;
    console.log("学号："+sid);

    var name = this.data.name;
    console.log("姓名：" +name);

    var statusname = this.data.statuname;
    console.log("政治面貌：" +statusname);

    var typename = this.data.typename;
    console.log("身份：" +typename);

    var mobile = this.data.mobile;
    console.log("手机号：" +mobile);

    var gender = this.data.gender;
    console.log("性别：" +gender);

    var party = this.data.party;
    console.log("支部：" +party);

    var dang = this.data.dang;
    console.log("职务：" +dang);
  },






  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {

  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady: function () {

  },
 
  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function () {

  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide: function () {

  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload: function () {

  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh: function () {

  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom: function () {

  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function () {

  }
})